package com.WebMentorPro.system.service;

import com.WebMentorPro.system.model.dto.bookBorrow.BorrowQueryRequest;
import com.WebMentorPro.system.model.dto.expertReading.ExpertQueryRequest;
import com.WebMentorPro.system.model.entity.BookBorrow;
import com.WebMentorPro.system.model.vo.BookBorrowVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author bianxiaoyao
* @description 针对表【book_borrow(书籍借阅表)】的数据库操作Service
* @createDate 2024-11-24 11:24:42
*/
public interface BookBorrowService extends IService<BookBorrow> {

    Page<BookBorrowVO> getQueryWrapper(Page<BookBorrowVO> pageParam, BorrowQueryRequest borrowQueryRequest);

    Page<BookBorrowVO> getQueryByStudent(Page<BookBorrowVO> pageParam, BorrowQueryRequest borrowQueryRequest, Long userId);

    Page<BookBorrowVO> getQueryByMyStudent(Page<BookBorrowVO> pageParam, BorrowQueryRequest borrowQueryRequest, Long teacherId);
}
